package com.beiding.jsonanalyzer.visit;

public class VisitorAdapter<T> implements Visitor<T>{

    private Visitor<T> core;

    public VisitorAdapter(Visitor<T> core) {
        this.core = core;
    }

    @Override
    public void onNode(T node) {
        core.onNode(node);
    }
}
